#include<iostream>
#include<conio.h>
#include<stdio.h>
using namespace std;
class CRectangle{
	int x;
	int y;
public:
	void SetValues(int a,int b);
	int area();
};
void CRectangle::SetValues(int a,int b){
	x=a;
	y=b;
}
int CRectangle::area(){
	return (x*y);
}
int main(){
	CRectangle *rect=new CRectangle();
	rect->SetValues(3,4);
	cout<<"area:"<<rect->area();
	getch();
}